plugin_name = PhotoSwipe5
plugin_desc = moziloCMS integration for PhotoSwipe 5. Galleries are read from the mozilo gallery area and displayed as a standard gallery, justified gallery, Masonry gallery, single image or cover image.

config_thumb_width = Default width of thumbnails in the standard gallery in pixels (100–600, default: 200). For responsive distribution, images may be slightly reduced or enlarged. The thumbnails generated by mozilo should be at least this wide.
config_thumb_width_error = Please enter a number from 100 to 600.

config_thumb_gap = Gap between thumbnails in the standard gallery in pixels (0–50, default: 12)
config_thumb_gap_error = Please enter a number from 0 to 50.

config_layout_gap = Gap between images in Justified and Masonry modes in pixels (0–50, default: 4)
config_layout_gap_error = Please enter a number from 0 to 50.

config_thumb_radius = Thumbnail corner radius in pixels (0–50, default: 8)
config_thumb_radius_error = Please enter a number from 0 to 50.

config_thumb_max_cols = Maximum number of thumbnails per row in the standard gallery (0 or empty = automatic)
config_thumb_max_cols_error = Please enter a number from 0 to 12. 0 or empty means automatic distribution.

config_thumb_shadow = Show shadow for thumbnails

config_thumb_ratio = Aspect ratio of thumbnails in the standard gallery
config_thumb_ratio_1_1 = 1:1 – square
config_thumb_ratio_4_3 = 4:3 – classic
config_thumb_ratio_3_2 = 3:2 – photo format
config_thumb_ratio_16_9 = 16:9 – widescreen

config_show_caption = Show captions below thumbnails
config_show_counter = Show image counter “x of y” in the lightbox

config_caption_lines = Number of visible caption lines below thumbnails
config_caption_lines_1 = 1 line
config_caption_lines_2 = 2 lines
config_caption_lines_3 = 3 lines

config_single_cover_width = Maximum width for single and cover images in pixels (150–1000, default: 480)
config_single_cover_width_error = Please enter a number from 150 to 1000.

config_pswp_animation = Lightbox opening and closing animation
config_pswp_animation_zoom = Zoom
config_pswp_animation_fade = Fade
config_pswp_animation_none = No animation

config_pswp_bg_opacity = Lightbox background opacity (0.00–1.00, default: 0.88)
config_pswp_bg_opacity_error = Please enter a number from 0.00 to 1.00.

config_pswp_wheel_to_zoom = Enable zooming with the mouse wheel

placeholder_gallery = Display gallery as a responsive thumbnail grid
placeholder_gallery_justified = Display gallery with justified image rows
placeholder_gallery_masonry = Display gallery as a Masonry layout
placeholder_mosaic = Display gallery as a mosaic
placeholder_single = Display the first gallery image as a single image
placeholder_cover = Display a freely selected image as the gallery cover
placeholder_lightbox = Lightbox image

info_help = <p>PhotoSwipe5 integrates the free JavaScript image gallery <strong>PhotoSwipe 5</strong> into moziloCMS.</p><p>The plugin generates the HTML structure and provides galleries, single images, cover images or individual lightbox images. Display, animations, gesture controls and the lightbox are handled by PhotoSwipe 5.</p><p><strong>Syntax</strong></p><p><code>{PhotoSwipe5|Gallery|Classes|Mode|Image}</code></p><p>Normally, only the first parameter <code>Gallery</code> is required. In <code>lightbox</code> mode, the gallery parameter remains empty and the image is specified in the fifth parameter.</p><p><strong>Parameters</strong></p><ul><li><code>Gallery</code> – name of the mozilo image gallery. In <code>lightbox</code> mode, this parameter remains empty.</li><li><code>Classes</code> – optional CSS modifier classes for selecting a display style or making custom adjustments.</li><li><code>Mode</code> – <code>gallery</code> (default), <code>justified</code>, <code>masonry</code>, <code>mosaic</code>, <code>single</code>, <code>cover</code> or <code>lightbox</code>.</li><li><code>Image</code> – required in <code>cover</code> and <code>lightbox</code> modes.</li></ul><p><strong>Examples</strong></p><p><code>{PhotoSwipe5|@=Gallery=@|||}</code><br>Standard gallery with all thumbnails.</p><p><code>{PhotoSwipe5|@=Gallery=@||justified|}</code><br>Justified gallery.</p><p><code>{PhotoSwipe5|@=Gallery=@||masonry|}</code><br>Masonry gallery.</p><p><code>{PhotoSwipe5|@=Gallery=@||mosaic|}</code><br>Displays the first five gallery images as a compact mosaic. Clicking it opens the complete gallery.</p><p><code>{PhotoSwipe5|@=Gallery=@||single|}</code><br>Displays the first image of the gallery. Clicking it opens the complete gallery.</p><p><code>{PhotoSwipe5|@=Gallery=@||cover|[bild|@=Category:image.webp=@|alt=Alternative text]}</code><br>Displays a freely selectable cover image. Clicking it opens the complete gallery.</p><p><code>{PhotoSwipe5|||lightbox|[bild|@=Category:image.webp=@|alt=Alternative text]}</code><br>Displays a single image from the file area. Clicking it opens this image in the lightbox.</p><p><strong>Display styles</strong></p><ul><li><strong>Standard gallery</strong> – responsive grid with uniform thumbnails.</li><li><strong>Justified gallery</strong> – images arranged in rows with equal row height.</li><li><strong>Masonry gallery</strong> – column-based arrangement with variable image heights.</li><li><strong>Mosaic</strong> – compact thumbnail layout with one large main image and four smaller images. Additional gallery images remain accessible through the lightbox.</li><li><strong>Single image</strong> – first gallery image used to open the lightbox.</li><li><strong>Cover image</strong> – freely selectable image used to open the gallery.</li><li><strong>Lightbox image</strong> – individual freely selectable image from the file area that opens in the lightbox without a gallery.</li></ul><p><strong>Modifier classes</strong></p><p>Any CSS classes can be added using the second parameter. They can be used to select display styles or customize individual galleries and images.</p><p>Custom CSS adjustments should be made in the <code>pswp5-custom.css</code> file. It is loaded after the plugin CSS and is preserved during plugin updates.</p><p><strong>Thumbnails</strong></p><p>The default width determines the preferred size of thumbnails in the standard gallery as well as the width of the visible images in <code>single</code>, <code>cover</code> and <code>lightbox</code> modes. The layout may slightly reduce or enlarge the images to make optimal use of the available space. Justified galleries, Masonry galleries and mosaics use their own layout rules.</p><p><strong>Captions</strong></p><p>Captions can be displayed below thumbnails using one to three lines. The complete caption is displayed in the lightbox.</p><p><strong>Lightbox</strong></p><p>The lightbox uses consistent controls with fixed zoom levels: the image is fully fitted when opened, a click or double-click fills the available area, and the image can be zoomed up to three times its size.</p><p>Detailed documentation with additional examples and styling options is included in the plugin package.</p>